package pl.wroc.pwr.psi.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import pl.wroc.pwr.psi.entity.ElementPlanu;
import pl.wroc.pwr.psi.repository.ElementPlanuRepository;

@Service
public class ElementPlanuService {

	@Autowired
	private ElementPlanuRepository elementPlanuRepository;
	
	public List<ElementPlanu> findAllElementPlanu() {
		return elementPlanuRepository.findAll();
	}
	
}
